<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd">
{% load tagging_tags %}

<html>
<head>
	<title>{% block title %}{% endblock %}</title>
	<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.1/build/reset-fonts-grids/reset-fonts-grids.css">
		<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.3.0/build/base/base-min.css">
</head>

<body>
	<!-- #doc = 750px width, centered--> 
	<div id="doc">
		<div id="hd">
			Menu: <a href="/">OurNewMachine</a> | <a href="/onk/SearchPage">Search Page</a>{% if user.is_authenticated %} | User: {{ user.username }}{% endif %}
		</div>
		<div id="bd">
			<div class="yui-ge">
				<div class="yui-u first">
					{% block content %}{% endblock %}
				</div>
				<div class="yui-u">
						<h2>Tags</h2>
						{% tags_for_model onk.Page as tag_list with counts%}
						<ul>
							{% for tag in tag_list %}
							<li><a href="/onk/tag/{{ tag }}/" title="">{{ tag.name }} ({{ tag.count }})</a></li>
							{% endfor %}
						</ul>
				</div>
			</div>
	   </div> 
	   <div id="ft"><!-- footer --></div> 
	</div>
</body>
</html>